package daoimpl;

import javax.ejb.Stateless;

import dao.ApprentiPizzaioloDao;
import domaine.ApprentiPizzaiolo;
@Stateless
public class ApprentiPizzaioloDaoImpl extends
		DaoImpl<String, ApprentiPizzaiolo> implements
		ApprentiPizzaioloDao {

	
	public ApprentiPizzaiolo rechercher(String pseudo,String mdp){
		return this.recherche("SELECT a FROM "+ApprentiPizzaiolo.class.getName()+" a WHERE a.pseudo = ?1 AND a.mdp = ?2", pseudo,mdp);
	}
	
}
